//
//  XHHomeViewController.m
//  House
//
//  Created by mac on 14-11-5.
//  Copyright (c) 2014年 mac. All rights reserved.
//

#import "XHHomeViewController.h"
#import "XHSearchBar.h"

@interface XHHomeViewController ()

@end

@implementation XHHomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    //添加搜索kuang
    XHSearchBar *searchBar = [[XHSearchBar alloc]init];
    
    searchBar.placeholder = @"输入搜索地点/地铁站/小区";
    searchBar.frame = CGRectMake(100, 999, 250
                                 , 35);
    self.navigationItem.titleView = searchBar;
    
    

    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
